package com.nsn.das.midas.model.mml.letter;

import javax.persistence.Column;
import javax.persistence.DiscriminatorColumn;
import javax.persistence.DiscriminatorType;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

import com.nsn.das.midas.model.BaseEntity;

@Entity
@Inheritance(strategy = InheritanceType.SINGLE_TABLE)
@DiscriminatorColumn(
		name = "type",
		discriminatorType = DiscriminatorType.STRING
)
@Table(name = "mml_letter")
public abstract class MMLLetter extends BaseEntity{
	private static final long serialVersionUID = -4481764998958388547L;
	
	@Column(length=2,unique=true)
	private String letter;

	public String getLetter() {
		return letter;
	}

	public void setLetter(String letter) {
		this.letter = letter;
	}
	
}
